package com.syni.mdd.sjb.common.component.utils.feign.service.mddAll;

import com.syni.mdd.sjb.common.component.utils.feign.constants.Constants;
import com.syni.mdd.sjb.common.component.utils.feign.dto.mddAll.apiAuroraPush.CommonPushDto;
import com.syni.mdd.sjb.common.component.utils.common.utils.RpcResponseVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @className ApiAuroraPushRestService
 * @description TOO
 * @Author cfx
 * @DATE 2020/5/4 18:06
 * @VERSION 1.0
 **/
@FeignClient(value = Constants.MDD_DSP_API,path = Constants.MDD_DSP_API_PATH)
@RequestMapping("/ApiAuroraPush")
public interface AuroraPushRestService {

    @PostMapping("/commonPush")
    RpcResponseVo commonPush(@RequestBody CommonPushDto commonPushDto);
}
